<!--$embed{"header.htm"}-->

<!--$if{space['self']}-->
<div class="searchbar">
	<input name="key" value="" size="26" class="t_input" type="text">
	<input name="searchsubmit" value="搜索图片" class="submit" type="submit">
</div>
<h2 class="title"><img src="image/app/album.gif">相册 - ${album['albumname']}</h2>
<div class="tabs_header">
	<ul class="tabs">
		<li class="active"><a href="space.html?uid=${pic['uid']}&do=album&id=${pic['albumid']}"><span>查看图片列表</span></a></li>
		<li><a href="space.html?uid=${space['uid']}&do=album&view=me"><span>返回我的相册</span></a></li>
		<li class="null"><a href="cp.html?ac=album&op=edit&albumid=${album['albumid']}">管理相册</a></li>
		<li class="null"><a href="cp.html?ac=upload&albumid=${album['albumid']}">上传新图片</a></li>
	</ul>
</div>
<!--$else-->
<!--$embed{"space_menu.htm"}-->
<!--$end-->

<div class="h_status">
	<a href="cp.html?ac=share&type=album&id=${album['albumid']}" id="a_share" onclick="ajaxmenu(event, this.id, 99999,'' , -1)" class="a_share">分享</a>
	<div class="r_option">
		<!--$if{canManageAlbum}--><a href="cp.html?ac=common&op=manage&idtype=album&id=${album['albumid']}" id="a_manage" onclick="ajaxmenu(event, this.id, 99999)">管理</a><span class="pipe">|</span><!--$end-->
		<a href="cp.html?ac=common&op=report&idtype=album&id=${album['albumid']}" id="a_report" onclick="ajaxmenu(event, this.id, 99999,'' , -1)">举报</a><span class="pipe">|</span>
	</div>
	${album['albumname']} - 
	<!--$if{ album['picnum']}-->共 ${album['picnum']} 张图片<!--$end-->
	<!--$if{ album['friend']}-->
	<span class="locked gray">
	<!--$if{ album['friend'] == 1}-->仅好友可见<!--$end-->
	<!--$if{ album['friend'] == 2}-->指定好友可见<!--$end-->
	<!--$if{ album['friend'] == 3}-->仅自己可见<!--$end-->
	<!--$if{ album['friend'] == 4}-->凭密码可见<!--$end-->
	</span>
	<!--$end-->
</div>


<!--$if{ list}-->
<table cellspacing="6" cellpadding="0" width="100%" class="photo_list">
	<tr>
		<!--$for{value:list}-->
			<td>
				<a href="space.html?uid=${value['uid']}&do=${do}&picid=${value['picid']}"><img src="${value['pic']}" alt="" /></a>
			</td>
			<!--$if{for.index%4==3}--></tr><tr><!--$end-->
		<!--$end-->
	</tr>
</table>
<div class="page">${multi}</div>
<!--$else-->
<div class="c_form">该相册下还没有图片。</div>
<!--$end-->

<!--$embed{"footer.htm"}-->